package com.itheima.aspect;

import redis.clients.jedis.Jedis;

public class JedisClient {
    private static class JedisHolder{
        private static Jedis jedis = new Jedis("127.0.0.1",6379);
    }
    private JedisClient(){}
    public static Jedis getInstance(){
        return JedisHolder.jedis;
    }
}
